![]() |
CE Gobi SDK
2.14
GobiApi
|
Classes | |
| struct | phonebookEntry |
| struct | emergencyNumberEntry |
| struct | arrPBInfo |
Macros | |
| #define | MAX_PB_NO_LEN 81 |
| #define | MAX_NO_OF_PB 10 |
| #define | MAX_PB_DESCRIPTION_LENGTH 255 |
Typedefs | |
| typedef void(GOBICALLBACK * | tFNPbRecordRead) (BYTE sessionType, WORD pbType, arrPBInfo *phoneBookEntry) |
| typedef void(GOBICALLBACK * | tFNAllPbInitDone) (BYTE noOfInstance, BYTE *arrSessionType, WORD *arrPbBitMask) |
| typedef void(GOBICALLBACK * | tFNEmergencyList) (BYTE noOfInstance, emergencyNumberEntry *arrEmergencyNumberEntry) |
Functions | |
| IMPORTGOBI ULONG GOBICMAPI | GetPhonebookCapabilities (BYTE *pSessionType, WORD *pPbType, WORD *pUsedRecords, WORD *pMaxRecords, BYTE *pMaxNumLen, BYTE *pMaxNameLen) |
| IMPORTGOBI ULONG GOBICMAPI | ReadPhonebookRecords (BYTE *pSessionType, WORD *pPbType, WORD *pStartId, WORD *pEndId, WORD *pNumOfRecords) |
| IMPORTGOBI ULONG GOBICMAPI | WritePhonebookRecord (BYTE *pSessionType, WORD *pPbType, WORD *pRecordId, BYTE *pNumType, BYTE *pNumPlan, BYTE *pNumLen, BYTE *pArrNum, BYTE *pNameLen, BYTE *pArrName) |
| IMPORTGOBI ULONG GOBICMAPI | DeletePhonebookRecord (BYTE *pSessionType, WORD *pPbType, WORD *pRecordId) |
| IMPORTGOBI ULONG GOBICMAPI | SetEmergencyListCallback (tFNEmergencyList pCallback) |
| IMPORTGOBI ULONG GOBICMAPI | SetAllPhonebookInitDoneCallback (tFNAllPbInitDone pCallback) |
| IMPORTGOBI ULONG GOBICMAPI DeletePhonebookRecord | ( | BYTE * | pSessionType, |
| WORD * | pPbType, | ||
| WORD * | pRecordId | ||
| ) |
This function adds a new record or modifies an existing record. Service ID 0x0C, Message ID 0x0005.
| pSessionType | [I] Session Type of the requested Phonebook Valid values:
|
| pPbType | [I] Phonebook Type of the requested Phonebook Valid values:
|
| pRecordId | [I] Record identifier. |
| IMPORTGOBI ULONG GOBICMAPI GetPhonebookCapabilities | ( | BYTE * | pSessionType, |
| WORD * | pPbType, | ||
| WORD * | pUsedRecords, | ||
| WORD * | pMaxRecords, | ||
| BYTE * | pMaxNumLen, | ||
| BYTE * | pMaxNameLen | ||
| ) |
This function retrieves the capabilities of the Phonebook requested. Service ID 0x0C, Message ID 0x0002.
| pSessionType | [I] Session Type of the requested Phonebook Valid values:
|
| pPbType | [I] Phonebook Type of the requested Phonebook Valid values:
|
| pUsedRecords | [O] Records used. |
| pMaxRecords | [O] Maximum possible records for this phonebook. |
| pMaxNumLen | [O] Maximum number length. |
| pMaxNameLen | [O] Maximum name length. |
| IMPORTGOBI ULONG GOBICMAPI ReadPhonebookRecords | ( | BYTE * | pSessionType, |
| WORD * | pPbType, | ||
| WORD * | pStartId, | ||
| WORD * | pEndId, | ||
| WORD * | pNumOfRecords | ||
| ) |
This function initiates the Record Read operation by specifying the range of the records to be read. Service ID 0x0C, Message ID 0x0004.
| pSessionType | [I] Session Type of the requested Phonebook Valid values:
|
| pPbType | [I] Phonebook Type of the requested Phonebook Valid values:
|
| pStartId | [I] Start identifier of the record to be read. |
| pEndId | [I] End identifier of the record to be read. |
| pNumOfRecords | [O] Indicates the total number of records returned in the subsequent QMI_PBM_RECORD_READ_IND(s). |
| IMPORTGOBI ULONG GOBICMAPI SetAllPhonebookInitDoneCallback | ( | tFNAllPbInitDone | pCallback | ) |
This function enables/disables the All Phonebook Init Done callback function. Service ID 0x0C, Message ID 0x000D. The callback will be invoked when all Phonebooks in the specified sessions (in the callback) are ready to be accessed.
| pCallback | [I] Callback function pointer. |
| IMPORTGOBI ULONG GOBICMAPI SetEmergencyListCallback | ( | tFNEmergencyList | pCallback | ) |
This function enables/disables the Emergency number list callback function. Service ID 0x0C, Message ID 0x000C.
| pCallback | [I] Callback function pointer. |
| IMPORTGOBI ULONG GOBICMAPI WritePhonebookRecord | ( | BYTE * | pSessionType, |
| WORD * | pPbType, | ||
| WORD * | pRecordId, | ||
| BYTE * | pNumType, | ||
| BYTE * | pNumPlan, | ||
| BYTE * | pNumLen, | ||
| BYTE * | pArrNum, | ||
| BYTE * | pNameLen, | ||
| BYTE * | pArrName | ||
| ) |
This function adds a new record or modifies an existing record. Service ID 0x0C, Message ID 0x0005.
| pSessionType | [I] Session Type of the requested Phonebook Valid values:
|
| pPbType | [I] Phonebook Type of the requested Phonebook Valid values:
|
| pRecordId | [I] Record identifier. |
| pNumType | [I] Type of number as per 3GPP TS 24.008 V7.13.0 (2008-09)
|
| pNumPlan | [I] Number plan
|
| pNumLen | [I] Length of the number |
| pArrNum | [I] Number in ASCII |
| pNameLen | [I] Length of name (counted in bytes) |
| pArrName | [I] Name in UCS2. |